import { ResponseBaseBody } from "./base";

export interface User {
  avatar: string
  name: string
  stuNum: string
  district: string
  gender: string
  qqNum?: string
  wechatId?: string
  initialized?: boolean
}

export interface UserInfo extends User {
  district: string,
  gender: string,
  qqNum: string,
  wechatId: string,
  tags: string[],
  // headimgurl:
}

export interface ILoginBody {
  token: string,
  nickname: string,
  headimgurl: string,
}

export type LoginBody = ResponseBaseBody<ILoginBody>
